#include<iostream>

using namespace std;

int main(){
	char s;
	int n;
	cin>>s>>n;
	for (int i=1;i<=n;i++){
		for (int j=0;j<i;j++){
			cout<<s;
		}
		cout<<endl;
	}
	return 0;
}
